<template>
  <div id="Index">
    <div class="indexStatistics">
      <div class="indexStatisticsView">
        12313
      </div>
    </div>
    <div class="chartView">
      <el-scrollbar>
        <div class="chartViewBody">
          <div class="oneChart">
            1
          </div>
          <div class="oneChart">
            2
          </div>
          <div class="oneChart">
            3
          </div>
          <div class="oneChart">
            1
          </div>
          <div class="oneChart">
            2
          </div>
          <div class="oneChart">
            3
          </div>
          <div class="oneChart">
            1
          </div>
          <div class="oneChart">
            2
          </div>
          <div class="oneChart">
            3
          </div>
        </div>
      </el-scrollbar>
    </div>
  </div>
</template>

<script setup name="Index">
import * as echarts from 'echarts';
</script>

<style scoped lang="less">
#Index {
  width: 100%;
  height: 100%;

  .indexStatistics {
    width: 100%;
    height: 250px;
    box-sizing: border-box;
    padding: 20px;

    .indexStatisticsView {
      width: 100%;
      height: 210px;
      padding: 5px;
      box-sizing: border-box;
      box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1)
    }
  }


  .chartView {
    width: 100%;
    height: calc(100% - 250px);
    box-sizing: border-box;

    .chartViewBody {
      width: 100%;
      display: flex;
      padding: 20px;
      display: -webkit-flex;
      display: -moz-flex;
      flex-wrap: wrap;
      overflow: auto;
      box-sizing: border-box;
      justify-content: space-between;

      .oneChart {
        width: 32.9%;
        flex-basis: 32.9%;
        margin-bottom: 15px;
        flex-shrink: 0;
        height: 400px;
        padding: 5px;
        box-sizing: border-box;
        box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1)
      }
    }
  }
}
</style>
